﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Stee.CAP8.MessageBus.Sagas.Core.Steps
{
    public interface IIncomingStep : IStep
    {
        /// <summary>
        /// Carries out whichever logic it takes to do something good for the incoming message :)
        /// </summary>
        Task Process(IncomingStepContext context, Func<Task> next);
    }
}
